package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 调度请求对象 a_dispatch_requests
 * 
 * @author ruoyi
 * @date 2025-04-02
 */
public class ADispatchRequests extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增ID */
    private Long id;

    /** 调度请求ID */
    @Excel(name = "调度请求ID")
    private String dispatchRequestsId;

    /** 调用单位ID */
    @Excel(name = "调用单位ID")
    private Long callingOrganizationId;

    /** 调用单位名称 */
    @Excel(name = "调用单位名称")
    private String callingOrganizationName;

    /** 被调用单位ID */
    @Excel(name = "被调用单位ID")
    private Long calledOrganizationId;

    /** 被调用单位名称 */
    @Excel(name = "被调用单位名称")
    private String calledOrganizationName;

    /** 请求日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "请求日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date callDate;

    /** 归还日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "归还日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date returnDate;

    /** 调度请求状态 */
    @Excel(name = "调度请求状态")
    private Long dispatchRequestsStatus;

    /** 拒绝原因 */
    @Excel(name = "拒绝原因")
    private String rejectionReason;

    /** 请求者ID */
    @Excel(name = "请求者ID")
    private Long requesterId;

    /** 请求者姓名 */
    @Excel(name = "请求者姓名")
    private String requesterName;

    /** 审批者ID */
    @Excel(name = "审批者ID")
    private Long approverId;

    /** 审批者姓名 */
    @Excel(name = "审批者姓名")
    private String approverName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDispatchRequestsId(String dispatchRequestsId) 
    {
        this.dispatchRequestsId = dispatchRequestsId;
    }

    public String getDispatchRequestsId() 
    {
        return dispatchRequestsId;
    }

    public void setCallingOrganizationId(Long callingOrganizationId) 
    {
        this.callingOrganizationId = callingOrganizationId;
    }

    public Long getCallingOrganizationId() 
    {
        return callingOrganizationId;
    }

    public void setCallingOrganizationName(String callingOrganizationName) 
    {
        this.callingOrganizationName = callingOrganizationName;
    }

    public String getCallingOrganizationName() 
    {
        return callingOrganizationName;
    }

    public void setCalledOrganizationId(Long calledOrganizationId) 
    {
        this.calledOrganizationId = calledOrganizationId;
    }

    public Long getCalledOrganizationId() 
    {
        return calledOrganizationId;
    }

    public void setCalledOrganizationName(String calledOrganizationName) 
    {
        this.calledOrganizationName = calledOrganizationName;
    }

    public String getCalledOrganizationName() 
    {
        return calledOrganizationName;
    }

    public void setCallDate(Date callDate) 
    {
        this.callDate = callDate;
    }

    public Date getCallDate() 
    {
        return callDate;
    }

    public void setReturnDate(Date returnDate) 
    {
        this.returnDate = returnDate;
    }

    public Date getReturnDate() 
    {
        return returnDate;
    }

    public void setDispatchRequestsStatus(Long dispatchRequestsStatus) 
    {
        this.dispatchRequestsStatus = dispatchRequestsStatus;
    }

    public Long getDispatchRequestsStatus() 
    {
        return dispatchRequestsStatus;
    }

    public void setRejectionReason(String rejectionReason) 
    {
        this.rejectionReason = rejectionReason;
    }

    public String getRejectionReason() 
    {
        return rejectionReason;
    }

    public void setRequesterId(Long requesterId) 
    {
        this.requesterId = requesterId;
    }

    public Long getRequesterId() 
    {
        return requesterId;
    }

    public void setRequesterName(String requesterName) 
    {
        this.requesterName = requesterName;
    }

    public String getRequesterName() 
    {
        return requesterName;
    }

    public void setApproverId(Long approverId) 
    {
        this.approverId = approverId;
    }

    public Long getApproverId() 
    {
        return approverId;
    }

    public void setApproverName(String approverName) 
    {
        this.approverName = approverName;
    }

    public String getApproverName() 
    {
        return approverName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dispatchRequestsId", getDispatchRequestsId())
            .append("callingOrganizationId", getCallingOrganizationId())
            .append("callingOrganizationName", getCallingOrganizationName())
            .append("calledOrganizationId", getCalledOrganizationId())
            .append("calledOrganizationName", getCalledOrganizationName())
            .append("callDate", getCallDate())
            .append("returnDate", getReturnDate())
            .append("dispatchRequestsStatus", getDispatchRequestsStatus())
            .append("rejectionReason", getRejectionReason())
            .append("requesterId", getRequesterId())
            .append("requesterName", getRequesterName())
            .append("approverId", getApproverId())
            .append("approverName", getApproverName())
            .toString();
    }
}
